﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pibby.Core.Presenters
{
	public abstract class Presenter<TView, TModel>
	{
		#region Constructors

		protected Presenter(TView view, TModel model)
		{
			this.View = view;
			this.Model = model;

			this.SubscribeToClientEvents();
		}

		protected abstract void SubscribeToClientEvents ();

		public abstract void UnsubscribeToClientEvents();

		#endregion Constructors

		#region Properties

		protected TView View
		{
			get;
			private set;
		}

		public virtual TModel Model
		{
			get;
			private set;
		}

		#endregion Properties


	}
}
